package com.huilian.cloud.module.system.controller.admin.group.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户组新增/修改 Request VO")
@Data
public class GroupSaveReqVO {

    @Schema(description = "用户组id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7725")
    private Integer groupId;

    @Schema(description = "用户组名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "用户组名称不能为空")
    private String groupName;

    @Schema(description = "显示顺序")
    private Integer groupSort;

    @Schema(description = "用户组状态（0正常 1停用）", example = "1")
    private String status;

    @Schema(description = "删除标志（0未删除 1已删除）")
    private String delFlag;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建人id", example = "914")
    private Integer createUserId;

    @Schema(description = "更新人id", example = "1646")
    private Integer updateUserId;

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4152")
    private Integer projectId;

    @Schema(description = "0 手动创建的  1 组织架构用户组  2 专属用户组", example = "1")
    private Integer createType;

    @Schema(description = "专属于哪个组织架构节点, heat_sys_group group_type=4", example = "16246")
    private Integer ownerCompanyId;

    @Schema(description = "专属于哪个用户", example = "31171")
    private Integer ownerUserId;

}